import request from '@/utils/request'

export function getScoreList(ids) {
  return request({
    url: '/fraction/list',
    method: 'post',
    data: ids
  })
}

export function getScoreItem(id) {
  return request({
    url: '/fraction/get/'+id,
    method: 'get'
  })
}

export function updateScore(data) {
  return request({
    url: '/fraction/do',
    method: 'put',
    data: data
  })
}
